package com.milesOne.beans;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Table("test_dates")
public class DataBean implements Serializable {


    @Id
    @Column("id")
    private Integer id;

    @Column("test_date_time")
    private LocalDateTime test_date_time;

    @Column("test_date")
    private LocalDate test_date;

    @Column("test_timestamp")
    private Timestamp test_timestamp;

    @Column("test_time")
    private Time test_time;

    @Column("test_year")
    private Date test_year;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDateTime getTest_date_time() {
        return test_date_time;
    }

    public void setTest_date_time(LocalDateTime test_date_time) {
        this.test_date_time = test_date_time;
    }

    public LocalDate getTest_date() {
        return test_date;
    }

    public void setTest_date(LocalDate test_date) {
        this.test_date = test_date;
    }

    public Timestamp getTest_timestamp() {
        return test_timestamp;
    }

    public void setTest_timestamp(Timestamp test_timestamp) {
        this.test_timestamp = test_timestamp;
    }

    public Time getTest_time() {
        return test_time;
    }

    public void setTest_time(Time test_time) {
        this.test_time = test_time;
    }

    public Date getTest_year() {
        return test_year;
    }

    public void setTest_year(Date test_year) {
        this.test_year = test_year;
    }
}
